FROM java:8

COPY ./target/mini-wework-0.0.1.jar /root/startup/
COPY ./local_policy.jar $JAVA_HOME/jre/lib/security/
COPY ./US_export_policy.jar $JAVA_HOME/jre/lib/security/

WORKDIR /root/startup/
EXPOSE 8088
CMD ["java","-jar","mini-wework-0.0.1.jar"]